#pragma once

bool MPL3115A2Init(void);

// polled versions
int16_t MPL3115A2_read_temperature(void);
int32_t MPL3115A2_read_pressure(void);

// interrupt versions
void MPL3115A2_start_ut(void);
uint16_t MPL3115A2_get_ut(void);
void MPL3115A2_start_up(void);
uint32_t MPL3115A2_get_up(void);
int16_t MPL3115A2_get_temperature(uint32_t ut);
int32_t MPL3115A2_get_pressure(uint32_t up);
